/*******************************************************************************
 * Copyright (c) Jerges A. Bello G. 2014. Reservado todos los derechos.
 ******************************************************************************/
package com.jabex.common.to;

import com.jabex.common.util.Constants;

import java.io.Serializable;

/**
 * Created by Jerges Bello on 14/05/2014.
 *
 */
public class MessageTO implements Serializable {
    private String message;
    private String code;
    private Boolean isError;

	public MessageTO() {
		this.message = null;
        this.code = Constants.OPERATION_OK;
        this.isError = false;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Boolean getIsError() {
        return isError;
    }

    public void setIsError(Boolean isError) {
        this.isError = isError;
    }
}
